package demo.spring.data.flow.c;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lushun.chen on 2017/3/30.
 *
 * @author lushun.chen
 */
@RestController
@RequestMapping("/h")
public class HelloController {
    @Autowired
    LoggingProcessor loggingProcessor;

    @RequestMapping("/a")
    public Object demo() {
        loggingProcessor.timerEntitySource();
        return "ok";
    }
}
